package com.wcar.system.service;

import com.wcar.common.entity.FrontUser;
import com.wcar.common.entity.User;
import com.wcar.common.vo.Result;
import com.wcar.system.vo.PassVo;

import java.util.List;

public interface UserService {
    Result<User> login(String name);

    Result<User> selectById(Integer id);

    Result<List<User>> selectAll();

    Result<User> modifyPass(PassVo pass);

    Result<FrontUser> fontLogin(String name);
}
